package com.beone.smart.smartBeauty.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 体重记录
 */
@Data
@TableName(value = "weight_record")
public class WeightRecordDo {
    //记录的主键id
    private String id;
    //用户id
    private String userId;
    //bmi指数
    private Double bmiNumber;
    //测量体重
    private Double weightRecord;
    //正品码
    private String dev_code;
    //设备名称
    private String dev_name;
    private String userName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime recordDate;
}
